package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.common.bean.ApiResult;
import com.example.modules.dto.CommentDTO;
import com.example.modules.entity.Comment;

public interface CommentService extends IService<Comment> {

    ApiResult insertComment(CommentDTO commentDTO);

    ApiResult datailComment(Integer postId,Integer pageNum,Integer pageSize);

    ApiResult deleteCommentById(Integer id);

    ApiResult getMyPostCommentTotal(Integer userId);

    ApiResult getReplyMyComments(Integer userId);

}
